﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace com.jwxcd.CommunityDriver
{
    /// <summary>
    /// 测量数据
    /// </summary>
    public class MeasureValue
    {

        private int dataType;
        /// <summary>
        /// 当前数据的类型，0代表数字式，1代表图形数据；当为1时，心电和血氧数据有值
        /// </summary>
        public int DataType
        {
            get { return dataType; }
            set { dataType = value; }
        }

        private int hr_Value;
        /// <summary>
        /// 心率值
        /// </summary>
        public int HR_Value
        {
            get { return hr_Value; }
            set { hr_Value = value; }
        }

        private int pulse;
        /// <summary>
        /// 血氧脉率，一次一个
        /// </summary>
        public int Pulse
        {
            get { return pulse; }
            set { pulse = value; }
        }


        private int pressurePulse;
        /// <summary>
        ///无创血压脉率，一次一个
        /// </summary>
        public int PressurePulse
        {
            get { return pressurePulse; }
            set { pressurePulse = value; }
        }

        private int sbp;
        /// <summary>
        /// 收缩压，一次一个
        /// </summary>
        public int SBP
        {
            get { return sbp; }
            set { sbp = value; }
        }

        private int dbp;

        /// <summary>
        /// 舒张压，一次一个
        /// </summary>
        public int DBP
        {
            get { return dbp; }
            set { dbp = value; }
        }


        private int map;
        /// <summary>
        /// 平均压
        /// </summary>
        public int Map
        {
            get { return map; }
            set { map = value; }
        }


        private int nibp;
        /// <summary>
        /// 袖带压，表示当前时间无创袖带压的压力值
        /// </summary>
        public int NIBP
        {
            get { return nibp; }
            set { nibp = value; }
        }

        private float temp;
        /// <summary>
        /// 耳温，一次一个
        /// </summary>
        public float Temperature
        {
            get { return temp; }
            set { temp = value; }
        }

        private List<int> ecg;
        /// <summary>
        /// 心电数据，常规情况下一次10个,当采用波形附件包的时候，个数不定
        /// </summary>
        public List<int> ECG
        {
            get { return ecg; }
            set { ecg = value; }
        }

        private List<int> spo2;
        /// <summary>
        /// 血氧数据，常规情况下一次5次，当采用波形附件包的时候，个数不定
        /// </summary>
        public List<int> SpO2
        {
            get { return spo2; }
            set { spo2 = value; }
        }


        private int spO2_value;
        /// <summary>
        /// 当dataType为0时获取的血氧饱和度值
        /// </summary>
        public int SpO2_value
        {
            get { return spO2_value; }
            set { spO2_value = value; }
        }

        private float glucose;
        /// <summary>
        /// 血糖数据，一次一个
        /// </summary>
        public float Glucose
        {
            get { return glucose; }
            set { glucose = value; }
        }

    }
}
